fix(filesystem): use platform specific API to make a file read-only
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Fri, 25 Apr 2025 08:11:15 +0000 (10:11 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 28 Apr 2025 09:46:41 +0000 (09:46 +0000)
commit3f57fa1b4f7ff2629f69eda9f9916e6090aa487f
tree704d9a7b2685fc763d051124c5e9589d5b6970b3
parentb5a67fe37302e77eb1d5c389a749b40d08b62460
fix(filesystem): use platform specific API to make a file read-only

on Windows we may fail to mark a file read-only be read-write again
using high level API

switch to use of low level C API from Microsoft

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/common/filesystembase.cpp